package com.yaoxun.console.mapping;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.yaoxun.console.xo.dto.RouterDefinition;
import com.yaoxun.console.xo.req.RouterEditReq;

@Mapper
public interface RouterMapping {

	RouterMapping INSTANCE = Mappers.getMapper(RouterMapping.class);
	
	RouterDefinition toRouterDefinition(RouterEditReq req);
	
}
